/*---------------------------------------------------------------------*/
/* --- STC MCU Limited ------------------------------------------------*/
/* --- STC 1T Series MCU Demo Programme -------------------------------*/
/* --- Mobile: (86)13922805190 ----------------------------------------*/
/* --- Fax: 86-0513-55012956,55012947,55012969 ------------------------*/
/* --- Tel: 86-0513-55012928,55012929,55012966 ------------------------*/
/* --- Web: www.STCMCU.com --------------------------------------------*/
/* --- Web: www.STCMCUDATA.com  ---------------------------------------*/
/* --- QQ:  800003751 -------------------------------------------------*/
/* 如果要在程序中使用此代码,请在程序中注明使用了STC的资料及程序            */
/*---------------------------------------------------------------------*/

#ifndef __TYPE_DEF_H
#define __TYPE_DEF_H

//========================================================================
//                               类型定义
//========================================================================

typedef unsigned char u8;   //  8 bits
typedef unsigned int  u16;  // 16 bits
typedef unsigned long u32;  // 32 bits

typedef signed char int8;   //  8 bits
typedef signed int  int16;  // 16 bits
typedef signed long int32;  // 32 bits

typedef unsigned char uint8;   //  8 bits
typedef unsigned int  uint16;  // 16 bits
typedef unsigned long uint32;  // 32 bits

#endif
